package com.shkco.xbjcc.dto;

import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PayParamDto {

    @NotEmpty(message = "订单号不能为空")
    private String orderNo;

    @NotNull(message = "支付类型不能为空")
    private Integer payType;

    @NotEmpty(message = "回调地址不能为空")
    private String callUrl;
}
